package com.erp.system.service;

import com.erp.common.utils.Query;
import com.erp.system.domain.TravelDO;

import java.util.List;
import java.util.Map;

/**
 * 出差管理
 * 
 * @author Eric
 * @email shiliang900713@163.com
 * @date 2019-11-18 22:32:48
 */
public interface TravelService {
	
	TravelDO get(Long id);
	
	List<TravelDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(TravelDO travel);
	
	int update(TravelDO travel);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

	int okconfirm(Long id, Integer status);

    List<TravelDO> reportlist(Map<String, Object> map);

	int reportcount(Map<String, Object> map);
}
